﻿<include file="top" />
<div class="submenu">
<form class="nav"><input type="button" value="新建常用消息" onclick="ShowMediaMessage(0);" />&nbsp;
	快捷检索：
<a href="?m=MediaMessages&ftype=text"<eq name="Mo.Get.ftype" value="text"> class="current"</eq>>文本</a> |&nbsp;
<a href="?m=MediaMessages&ftype=image"<eq name="Mo.Get.ftype" value="image"> class="current"</eq>>图片</a> |&nbsp;
<a href="?m=MediaMessages&ftype=voice"<eq name="Mo.Get.ftype" value="voice"> class="current"</eq>>语音</a> |&nbsp;&nbsp;
<a href="?m=MediaMessages&ftype=video"<eq name="Mo.Get.ftype" value="video"> class="current"</eq>>视频</a> |&nbsp;
<a href="?m=MediaMessages&ftype=music"<eq name="Mo.Get.ftype" value="music"> class="current"</eq>>音乐</a> |&nbsp;
<a href="?m=MediaMessages&ftype=news"<eq name="Mo.Get.ftype" value="news"> class="current"</eq>>图文</a> |&nbsp;
<a href="?m=MediaMessages&ftype=mutinews"<eq name="Mo.Get.ftype" value="mutinews"> class="current"</eq>>多条图文</a></form>
</div>
<table width="100%">
	<tr class="h"><td width="120">消息名称</td><td width="40">类型</td><td>内容</td><td width="140">时间</td><td width="80">操作</td></tr>
<loop name="Messages">
	<tr class="l">
		<td>{$Messages.Name:F.encodeHTML}</td>
		<td>{$Messages.Details:ParseMessage=C__Messages.MsgType}</td>
		<td>{$Messages.CreateTime:F.untimespan}</td>
		<td><a onclick="ShowMediaMessage({$Messages.Id});">修改</a>&nbsp;|&nbsp;
		<a href="?m=MediaMessages&ftype={$Mo.Get.ftype}&a=delete&Id={$Messages.Id}" onclick="return window.confirm('确定要删除本记录吗？');">删除</a></td>
	</tr>
</loop>
	<tr class="l"><td colspan="5"><page for="Messages" /></td></tr>
</table>
<div id="DialogAlert"></div>
<script type="text/javascript">
var Id = parseInt("{$Mo.Get.Int.Id}"); 
if(Id>0)ShowMediaMessage(Id);
</script>
<js file="/Contents/Scripts/jquery.min.js" />
<js file="/Contents/Scripts/wxeditor.js" />
<include file="foot" />